<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Bootstrap -->
    <link href="<?=$staticUrl?>assets/cms/bootstrap.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- version参数解决缓存问题 -->
    <link href="<?=$staticUrl?>assets/cms/style.css?version=<?= VERSION ?>" rel="stylesheet">
    <title><?=$schoolInfo['school_name']?></title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="robots" content="All">
    <link rel="shortcut icon" href="http://demoall.adashuo.com/favicon.ico">
    <style type="text/css">
        /*写死背景颜色*/
        <?php $color = $cmsInfo['cms_theme_color']; ?>
        .head_top, .footer, .contact, .red_btn, a.red_btn{background-color: <?=$color?>}
        .index_title p{color: <?=$color?>}
        a:hover, a:active, a:focus{color: <?=$color?>}
        .red_btn, a.red_btn{color: white}
        .ab_type li a.actived{border-bottom-color: <?=$color?>;color: <?=$color?>}
    </style>
</head>
<body>
    <div class="head_top" id="top">
        <nav class="navbar nav-pills">
            <div class="container clearfix">
                <div class="navbar-header">
                    <div class="search_icon hidden-md hidden-lg"></div>
                    <button type="button" class="navbar-toggle collapsed"></button>
                    <a class="navbar-brand" href="<?=web_url('cms/index')?>/<?=$cmsInfo['cms_token']?>">
                        <img src="<?=$cmsInfo['cms_logo']?>">
                    </a>
                    <div id="navbar" class="navbar-collapse collapse nav-bar-xs nav-bar-sm">
                        <div class="clearfix"></div>
                        <ul class="nav navbar-nav" style="margin-top: 30px">
                            <li class=""><a href="<?=web_url('cms/index/'). $cmsInfo['cms_token']?>">首页</a></li>
                            <?php foreach($categoryList as $category): ?>
                                <li class="">
                                    <a href="<?=web_url('cms/category/'). $cmsInfo['cms_token']. "/". $category['id']?>"><?=$category['category_name']?></a>
                                </li>      
                            <?php endforeach; ?>
                            <li class=""><a href="<?=web_url('cms/contact/'). $cmsInfo['cms_token']?>">联系我们</a></li>  
                        </ul>
                    </div>
                </div>
            </div>
        </nav>
    </div>